﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LIMS.Entities
{
    [Serializable]
    public class GridViewData
    {
        #region Private

        private int pageSize;
        private int pageIndex;
        private int totalRecords;
        private string sortOrder;
        private string sortColumn;
        private List<GVEntityData> criteria = new List<GVEntityData>();

        #endregion

        #region Public

        public int PageSize
        {
            get { return pageSize; }
            set { pageSize = value; }
        }

        public int PageIndex
        {
            get { return pageIndex; }
            set { pageIndex = value; }
        }

        public int TotalRecords
        {
            get { return totalRecords; }
            set { totalRecords = value; }
        }

        public String SortOrder
        {
            get { return sortOrder; }
            set { sortOrder = value; }

        }

        public String SortColumn
        {
            get { return sortColumn; }
            set { sortColumn = value; }
        }

        public List<GVEntityData> Criteria
        {
            get { return criteria; }
            set { criteria = value; }
        }

        #endregion
    }
}
